# Contributor: Robin Candau <robincandau@protonmail.com>
# Maintainer: Robin Candau <robincandau@protonmail.com>
pkgname=gsimplecal
pkgver=2.5.1
pkgrel=0
pkgdesc="Simple and lightweight GTK calendar"
url="https://dmedvinsky.github.io/gsimplecal/"
arch="all"
license="BSD-3-Clause"
makedepends="autoconf automake pkgconf gtk+3.0-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/dmedvinsky/gsimplecal/archive/v$pkgver.tar.gz"
options="!check" # no test suite

build() {
	./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -Dm 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

sha512sums="
0234dcecdc43e870bff68891fd620ea43750515ab687d845e692bf28598697b7274c46dca01af5d4cf1ab64c73d7a65612b5104dc000428d09186ce0740b974b  gsimplecal-2.5.1.tar.gz
"
